﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/User.master" AutoEventWireup="true"
    CodeFile="Browse.aspx.cs" Inherits="List_Browse" Title="收藏名称-飞屋" %>

<%@ Register Assembly="WFNetCtrl" Namespace="WFNetCtrl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script src="../Scripts/selectFixer.js" type="text/javascript"></script>

    <style type="text/css">
        .filmInfo .style02 div
        {
            color: #000;
            float: left;
            width: 52em;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphLeft" runat="Server">
    <div class="filmInfo">
        <dl>
            <dd class="style01">
                <h3>
                    收藏名称：<asp:Label ID="lbListName" runat="server"></asp:Label></h3>
            </dd>
            

            <dd class="style02">
                <div>
                     作者：<asp:Label ID="lbAuthor" runat="server"></asp:Label>
                </div>
            </dd>

            <dd class="style02">
                <div>
                    备注：<asp:Label ID="lbListRemark" runat="server"></asp:Label>
                    <asp:Button ID="btnEdit" runat="server" Text="编辑" OnClick="btnEdit_Click" />
                </div>
            </dd>
            <dd class="clear_float style03">
                <dl>
                    <dd>
                        <a href="javascript:void(null);">喜欢</a> <span class="count">0</span></dd>
                </dl>
                <a href="javascript:void(null);">Author</a> <span>2009-11-01</span>
            </dd>
        </dl>
    </div>
    <div class="filmInfo" style="border-bottom: none;">
        <dl>
            <dd class="style01">
                影片列表</dd>
            <dd class="filter">
                <select name="" class="select">
                    <option>显示全部</option>
                    <option>我想看的</option>
                </select>
            </dd>
        </dl>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="gaugehead">
            <tr>
                <td width="50px">
                    编号
                </td>
                <td width="10%">
                    排序号
                </td>
                <td width="30%">
                    影片名
                </td>
                <td width="10%">
                    IMDB编号
                </td>
                <td width="20%">
                    收藏时间
                </td>
                <td>
                    备注
                </td>
            </tr>
        </table>
        <asp:GridView ID="gvList" border="0" CellPadding="0" CellSpacing="0" runat="server"
            AutoGenerateColumns="False" PageSize="15" Width="100%" CssClass="resourcesList"
            GridLines="None" ShowHeader="False">
            <EmptyDataTemplate>
                <font style="color: #F00;">无符合条件的记录</font>
            </EmptyDataTemplate>
            <RowStyle HorizontalAlign="Center" />
            <Columns>
                <asp:TemplateField ItemStyle-Width="50px">
                    <ItemTemplate>
                        <%#Container.DataItemIndex+1 %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="排序号" ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label ID="lbSortIndex" runat="server" Text='<%#Eval("SortIndex")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="影片名" ItemStyle-Width="30%">
                    <ItemTemplate>
                        <a href="Browse.aspx?ID=<%# Eval("ID") %>" title='<%# Eval("MovieName") %>' target="_blank">
                            <%# DataBinder.Eval(Container.DataItem, "MovieName")%></a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="IMDB编号" ItemStyle-Width="10%">
                    <ItemTemplate>
                        <asp:Label ID="tbIMDB" runat="server" Text='<%#Eval("IMDB_ID")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="收藏时间" ItemStyle-Width="20%">
                    <ItemTemplate>
                        <asp:Label ID="tbCreateTime" runat="server" Text='<%#Eval("CreateTime")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="备注">
                    <ItemTemplate>
                        <asp:Label ID="lbRemark" runat="server" Text='<%#Eval("Remark")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <cc1:DefaultPager ID="pGrid" runat="server" Align="Right" OnClick="pGrid_OnClick">
        </cc1:DefaultPager>
    </div>

    <script type="text/javascript">
        var list = document.getElementsByTagName("table");
        for (i=0;i<list.length;i++) {
	        if (list[i].className == "gaugehead" || list[i].className == "resourcesList") {
		        list[i].rows[0].cells[0].width = 49;
		        list[i].rows[0].cells[2].width = 49;
		        list[i].rows[0].cells[3].width = 98;
	        }
        }
    </script>
<%--以下不显示
<dd class="style02"><div>对应栏目：<asp:Label ID="lbMenu" runat="server"></asp:Label></div></dd>
<dd class="style02"><div>进度 ：已添加：<asp:Label ID="lbAmount" runat="server">0</asp:Label>/总数：<asp:Label ID="tbTotal" runat="server">100</asp:Label></div></dd>
<dd class="style02"><div>创建时间：<asp:Label ID="lbCreateTime" runat="server"></asp:Label></div></dd>
--%>
</asp:Content>
